Composite flash for an electronic device

ABSTRACT

An apparatus and method for capturing an image on an electronic device having a flash comprising a first light source and a second light source is presented herein. A detection of a color spectrum of ambient light is made using image data sensed by an image sensor of a camera module. Additionally, a determination of an intensity of a first light when combined with an associated intensity of a second light results in a color spectrum that substantially matches the color spectrum of the ambient light. The flash emits a first light from the first light source of the flash and second light from the second light source of the flash. An image from a camera module is recorded during the emission of the first and second light.

CROSS-REFERENCE TO RELATED APPLICATION

This application is a continuation of U.S. application Ser. No.12/789,739, filed May 28, 2010, the contents of which are entirelyincorporated by reference herein.

FIELD OF TECHNOLOGY

The present disclosure relates generally to mobile devices having acamera and an associated flash. More specifically, the presentdisclosure relates to controlling the flash on the mobile device.

BACKGROUND

With the advent of more robust electronic systems, advancements ofmobile devices are becoming more prevalent. Mobile devices can provide avariety of functions including, for example, telephonic, audio/video,and gaming functions. Mobile devices can include mobile stations such ascellular telephones, smart telephones, portable gaming systems, portableaudio and video players, electronic writing or typing tablets, handheldmessaging devices, personal digital assistants, cameras, video cameras,and handheld computers.

Mobile devices allow users to have an integrated device which canperform a variety of different tasks. For example, a mobile device canbe enabled for voice transmission (cell phones), text transmission(pagers and PDAs), sending and receiving data for viewing of Internetwebsites, multi-media messages, videography and photography. While somemobile devices may include voice transmission (cell phones), texttransmission (pagers and PDAs), sending and receiving data for viewingof Internet websites, multi-media messages, videography and photographyfunctions, other devices can be limited to just a sub-set of voicetransmission (cell phones), text transmission (pagers and PDAs), sendingand receiving data for viewing of Internet websites, multi-mediamessages, videography and photography functions. When enabled forvideography or photography or a combination thereof, the mobile devicecan be equipped with a flash. In some mobile devices, the flash islimited to use with photography and in others the flash can be used invideography too.

BRIEF DESCRIPTION OF THE DRAWINGS

Implementations of the present application will now be described, by wayof example only, with reference to the attached Figures, wherein:

FIG. 1 is a flow diagram of a mobile device having a flash module inaccordance with an exemplary implementation according to the presentdisclosure;

FIG. 2 is a block diagram representing a mobile device in accordancewith an exemplary implementation interacting with a communicationnetwork;

FIG. 3 is a block diagram of an exemplary device that is adapted todetermine an intensity of red light in accordance with an exemplaryimplementation according to the present disclosure;

FIG. 4 is a flowchart of a method of capturing an image on a mobiledevice using a flash with a determined intensity of red light;

FIG. 5 is a front view of a mobile device illustrating an exemplary menuof camera settings according to an exemplary implementation of thepresent disclosure; and

FIG. 6 is a rear view of the mobile device depicted in FIG. 5.

DETAILED DESCRIPTION

As will be appreciated for simplicity and clarity of illustration, whereappropriate, reference numerals have been repeated among the differentfigures to indicate corresponding or analogous elements. In addition,numerous specific details are set forth in order to provide a thoroughunderstanding of the implementations described herein. However, those ofordinary skill in the art will understand that the implementationsdescribed herein can be practiced without the described specificdetails. In other instances, methods, procedures and components have notbeen described in detail so as not to obscure the related relevantfeature being described. Also, the description is not to be consideredas limiting the scope of the implementations described herein.

Several definitions that apply throughout this document will now bepresented. The word “coupled” is defined as connected, whether directlyor indirectly through intervening components and is not necessarilylimited to physical connections. The term “mobile device” is defined asany electronic device that is capable of at least accepting informationentries or commands from a user and includes the electronic device's ownpower source. The term “light source” is defined as at least one devicecapable of emitting light. In at least one implementation a light sourcecan include a multiple number of devices capable of emitting light. Theterm “flash” as used herein can be either a pulse of light during imagecapture or a continuous light provided during image capture.Additionally, the word flash can be used to refer to the module that iscapable of producing a flash, when the term is used as a noun. Furtherdefinitions will be presented below.

The following figures describe a flash module for a mobile device. The“flash module” can be included within the mobile device or providedseparately from the mobile device. Furthermore, the flash module caninclude one or more components for emission of light for illumination ofa subject. The flash for the mobile device as presented herein has atleast two light sources capable of producing a composite light. In atleast one implementation, the flash module includes at least one lightsource that is a red light source. The red light source can be one ormore red light emitting diodes (LEDs), a white LED filtered so that onlythe red light wavelength is emitted, or any other light configured withor without a filter. Additionally, a white light source can be providedas well. The white light source can be at least one white LED, a xenontube, or other light source capable of emitting a broad spectrum oflight.

A typical flash on a mobile device is single light source that has acolor spectrum that matches a single type of ambient light. However,mobile devices are used in a variety of ambient lighting conditions.While the white light source is generally described as a white lightsource, the variation between different types of white light sourcescreates a color balance problem in that the white light from the flashwhich typically can only match a single type of light source for examplean incandescent light. As mobile devices are used to capture imagesunder a variety of ambient lighting conditions the color spectrum of theflash will not match the variety of ambient lighting conditions. Forexample, if the flash has a color spectrum that matches that of anincandescent light the flash will not perform well in a fluorescentlighting condition. The difference between the color spectrum of theflash and the ambient light causes the subject of a photograph or avideo appear to have a color which is different in the recorded image(s)as compared to colors normally perceived by an observer. In oneimplementation, the present disclosure provides a white light source anda red light source to compensate for this difference and to better matchthe light with two light sources. When the white light source and thered light source are combined, the resulting emitted light can moreclosely approximate the color balance of the ambient light emitted froman ambient light source.

In at least one implementation, the present disclosure provides a methodof emitting an intensity from a first light and a second light tosubstantially match the color spectrum of the ambient light. Adetermination of an intensity of a first light when combined with asecond light is made such that the resulting color spectrum of thecombined first and second light sources substantially matches the colorspectrum of the ambient light. The ambient light can be sensed using aspecialized sensor such as an image sensor, or the ambient light can bebased on data received by a camera module. The first light and secondlight, as described herein, are a white light and a red lightrespectively. When the spectrums of the white light and red lightcombine, as described herein, the spectrum of the ambient light can besubstantially matched. Other combinations of lights that can produce thedesired-spectrum-matching characteristics are considered within thescope of this disclosure.

Once a determination is made in regards to the desired intensity of atleast the second light, a transmission of light from the first light andsecond light is made to produce a flash. In order to correctly set theintensity of the second light, flash control data is sent to the secondlight source to control the intensity of the second light based on thepredetermined intensity. The intensity of the first light can be apredetermined amount or intensity of the first light can be adjusted inlight of the ambient color spectrum. While reference herein is toindividual lights, this disclosure contemplates the incorporation of thelights within a flash module. Additionally, the flash module can includecapacitors, inductors, transformers and other electronic circuitrynecessary to produce a flash of a desired intensity. The capacitors,inductors, transformers and other electronic circuitry components areomitted from the description herein for clarity. Additionally, the datathat is transmitted to the first light and the second light can becombined into a single data set and transmitted to a flash module thatincludes both the first and second lights. Additional detail concerningthe individual components and production of the flash are describedbelow.

An exemplary flow diagram of a mobile device 100 according to thepresent disclosure is illustrated in FIG. 1. As mentioned above, severalcomponents of the mobile device 100 have been omitted for clarity. Someof the omitted components are presented later in regards to FIG. 2. Asillustrated in FIG. 1, a processing module 338 is included which iscoupled to a flash module 200, an image sensor 210, and a camera module220. The processing module 338 is configured to at least send data tothe flash module 200. In the illustrated implementation, the flashmodule 200 is configured for two way data transmission and receptionwith the processing module 338. This two-way data transmission andreception allows for data to flow between the flash module 200 and theprocessing module 338. For example, the processing module 338 can sendcontrol data to the flash module 200 to control the flash module. Thisdata can include instruction for controlling the flash from a whitelight source 202. In at least one implementation, the white light source202 is a single LED. In other implementations, a plurality of LEDs canbe implemented. The white light source 202 can be located within theflash module 200, and the flash module 200 can provide instructions tothe white light source 202. In an implementation, where the white lightsource 202 is located in an individual module, the control data can passthrough one or more controllers which can be processors or the like forproviding the final instruction to the white light source 202.

Likewise, the red light source 204 can be located in the flash module200. When the red light source 204 is located within the flash module200, control data for controlling the red light source 204 is sent tothe flash module 200, which can process or further transmit the data tothe red light source 204. In at least one implementation, the red lightsource 204 can have an integrated controller. In other implementations,the flash module 200 controls the red light source 204 by controllingthe power supplied to the red light source 204. The red light source 204can be an individually configured device that is either separate from orincluded with the flash module 200. In at least one implementation, thered light source 204 and white light source 202 are providedindividually without being a part of the flash module 200.

An image sensor 210 can be included within the mobile device 100. Whenthe image sensor 210 is included, the image sensor 210 receives imagedata. The image data that the image sensor 210 can sense includesambient light characteristics. In at least one implementation, the imagesensor 210 can also detect at least one of a distance to an object ofinterest and backlighting. As illustrated in FIG. 2, the image sensor210 is shown separate from the camera module 220. In otherimplementation the image sensor 210 can be included in the camera module220. Additionally, the same sensor can be used in the camera module 220as described herein in relation to the image sensor 210 and in relationto capturing the image of the objects in view of the sensor. In oneimplementation, when the same sensor is used for both functions, thesensor can operate at a lower power setting for acquisition of ambientlight characteristics as compared to image acquisition of the objectswithin view of the sensor. In other implementations, the sensor can befully powered in both functions.

Additionally, in at least one implementation, the camera module 220 cansample a plurality of image data received by the image sensor 210. Theimage data can be analyzed by the processor module 338. For example, asample of ten different images can be taken by the camera module 220 andanalyzed by the processor module 338. In one implementation, the ambientlight characteristics are determined based upon the average image datareceived. In another implementation, the ambient light characteristicsare determined based upon median image data. In another implementation,the number of samples can be varied and compared with another set ofdata taken a predetermined period of time before. This analysis can becompleted in under one second.

In addition to the above components, the mobile device 100 can includeadditional components as illustrated in FIG. 2. While the components ofFIGS. 1 and 2 are not all inclusive, FIGS. 1 and 2 illustrate componentsthat can be included on a mobile device 100 according to the presentdisclosure. Additional components are required to allow the mobiledevice 100 to function, but have been omitted for clarity.

As illustrated in FIG. 2, the mobile device 100 includes a communicationsubsystem 311 to perform all communication transmission and receptionwith a wireless network 319. A processor module 338 can be connectedwith an auxiliary input/output (I/O) subsystem 328 which can beconnected to the mobile device 100. The processor module 338 can includeone or more processors. Additionally, the processors can bemicro-processors for example. In at least one implementation, theprocessor module 338 can be connected to a serial port (for example, aUniversal Serial Bus port) 330 which can allow for communication withother devices or systems. The display 325 can be connected to theprocessor module 338 to allow for displaying of information to anoperator of the mobile device 100. When the mobile device 100 isequipped with a keyboard 322, the keyboard 322 can also be connectedwith the processor module 338. The mobile device 100 can include aspeaker 334, a microphone 336, random access memory (RAM) 326, and flashmemory 324, all of which can be connected to the processor module 338.Other similar components can be provided on the mobile device 100 aswell and optionally connected to the processor module 338. Othercommunication subsystems 340 and other communication device subsystems342 are generally indicated as being functionally connected with theprocessor module 338 as well. An example of the communication subsystem340 is that of a short range communication system such as BLUETOOTH®communication module or a WI-FI® communication module (a communicationmodule in compliance with IEEE 802.11 set of protocols) and associatedcircuits and components. The processor module 338 is able to performoperating system functions and enables execution of programs on themobile device 100. In some implementations not all of the abovecomponents can be included in the mobile device 100.

The auxiliary I/O subsystem 328 can take the form of a trackpadnavigation tool as illustrated in the exemplary implementation shown inFIG. 5, or a trackball, a thumbwheel, a navigation pad, a joystick,touch-sensitive interface, or other I/O interface. While the aboveexamples have been provided in relation to the auxiliary I/O subsystem328, other subsystems capable of providing input or receiving outputfrom the mobile device 100 are considered within the scope of thisdisclosure. Other keys can be placed along the side of the mobile device100 to function as escape keys, volume control keys, scrolling keys,power switches, or user programmable keys, and can likewise beprogrammed accordingly.

Furthermore, the mobile device 100 is equipped with components to enableoperation of various programs, as shown in FIG. 2. In an exemplaryimplementation, the flash memory 324 is enabled to provide a storagelocation for the operating system 357, device programs 358, and data.The operating system 357 is generally configured to manage otherprograms 358 that are also stored in memory 324 and executable on theprocessor. The operating system 357 honors requests for services made byprograms 358 through predefined program 358 interfaces. Morespecifically, the operating system 357 typically determines the order inwhich multiple programs 358 are executed on the processor and theexecution time allotted for each program 358, manages the sharing ofmemory 324 among multiple programs 358, handles input and output to andfrom other device subsystems 342, and so on. In addition, operators cantypically interact directly with the operating system 357 through a userinterface which can include the keyboard 322 and display screen 325.While in an exemplary implementation the operating system 357 is storedin flash memory 324, the operating system 357 in other implementationsis stored in read-only memory (ROM) or similar storage element (notshown). As those skilled in the art will appreciate, the operatingsystem 357, device program 358 or parts thereof can be loaded in RAM 326or other volatile memory.

In one exemplary implementation, the flash memory 324 contains programs358 for execution on the mobile device 100 including an address book352, a personal information manager (PIM) 354, and the device state 350.Furthermore, programs 358 and other information 356 including data canbe segregated upon storage in the flash memory 324 of the mobile device100.

When the mobile device 100 is enabled for two-way communication withinthe wireless communication network 319, the mobile device 100 can sendand receive messages from a mobile communication service. Examples ofcommunication systems enabled for two-way communication include, but arenot limited to, the General Packet Radio Service (GPRS) network, theUniversal Mobile Telecommunication Service (UMTS) network, the EnhancedData for Global Evolution (EDGE) network, the Code Division MultipleAccess (CDMA) network, High-Speed Packet Access (HSPA) networks,Universal Mobile Telecommunication Service Time Division Duplexing(UMTS-TDD), Ultra Mobile Broadband (UMB) networks, WorldwideInteroperability for Microwave Access (WiMAX), and other networks thatcan be used for data and voice, or just data or voice. For the systemslisted above, the communication device 800 can require a uniqueidentifier to enable the communication device 900 to transmit andreceive messages from the communication network 319. Other systems maynot require such identifying information. GPRS, UMTS, and EDGE use aSubscriber Identity Module (SIM) in order to allow communication withthe communication network 319. Likewise, most CDMA systems use aRemovable User Identity Module (RUIM) in order to communicate with theCDMA network. The RUIM and SIM card can be used in multiple differentmobile devices 100. The mobile device 100 can be able to operate somefeatures without a SIM/RUIM card, but the mobile device 100 will not beable to communicate with the network 319. A SIM/RUIM interface 344located within the mobile device 100 allows for removal or insertion ofa SIM/RUIM card (not shown). The SIM/RUIM card features memory and holdskey configurations 351, and other information 353 such as identificationand subscriber related information. With a properly enabled mobiledevice 100, two-way communication between the mobile device 100 andcommunication network 319 is possible.

If the mobile device 100 is enabled as described above or thecommunication network 319 does not require such enablement, the two-waycommunication enabled mobile device 100 is able to both transmit andreceive information from the communication network 319. The transfer ofcommunication can be from the mobile device 100 or to the mobile device100. In order to communicate with the communication network 319, themobile device 100 in the presently described exemplary implementation isequipped with an integral or internal antenna 318 for transmittingmessages to the communication network 319. Likewise the mobile device100 in the presently described exemplary implementation is equipped withanother antenna 316 for receiving communication from the communicationnetwork 319. The antennae (316, 318) in another exemplary implementationare combined into a single antenna (not shown). As one skilled in theart would appreciate, the antenna or antennae (316, 318) in anotherimplementation are externally mounted on the mobile device 100.

When equipped for two-way communication, the mobile device 100 featuresthe communication subsystem 311. As is understood in the art, thecommunication subsystem 311 is modified so that the communicationsubsystem 311 can support the operational needs of the mobile device100. The subsystem 311 includes a transmitter 314 and receiver 312including the associated antenna or antennae (316, 318) as describedabove, local oscillators (LOs) 313, and a processing module which in thepresently described exemplary implementation is a digital signalprocessor (DSP) 320.

The present disclosure contemplates that communication by the mobiledevice 100 with the wireless network 319 can be any type ofcommunication that both the wireless network 319 and mobile device 100are enabled to transmit, receive and process. In general, thecommunications can be classified as voice and data. Voice communicationgenerally refers to communication in which messages for audible soundsare transmitted by the mobile device 100 through the communicationnetwork 319. Data generally refers to all other types of communicationthat the mobile device 100 is capable of performing within theconstraints of the wireless network 319.

Example device programs that can depend on such data include email,contacts and calendars. For each such program, synchronization withhome-based versions of the programs can be desirable for either or bothof their long term and short term utility. As an example, emails areoften time sensitive, so substantially real time synchronization can bedesired. Contacts, on the other hand, can be usually updated lessfrequently without inconvenience. Therefore, the utility of the mobiledevice 100 is enhanced when connectable within a communication system,and when connectable on a wireless basis in the network 319 in whichvoice, text messaging, and other data transfer are accommodated.

FIG. 3 illustrates on example of a mobile device 100 that is adapted todetermine an intensity of red light when combined with white lightresults in a color spectrum that substantially matches a color spectrumof an ambient light. Additionally as illustrated, the mobile device 100(not shown) emits red light with the determined intensity and whitelight. As illustrated, the object 150 of interest is illuminated byambient light 160. The type of ambient light 160 can cause the object150 to appear to an observer as having different colors. For example,the ambient light 160 can be a fluorescent light, an incandescent light,a light emitting diode light, a sodium-vapor light, a mercury vaporlight, and the like. Each of the fluorescent light, incandescent light,light emitting diode light, sodium-vapor light, mercury vapor lightstypes of lights emits a slightly different color spectrum of light sothat when the emitted ambient light 160 reflects off of the object 150an observer will believe that the color of the object 150 is different.Furthermore, when a flash of light is emitted from the flash module 200,the object 150 can be illuminated so that portions of the object 150 areilluminated by: the combination of the light from the flash module 200and ambient light; predominantly the light from the flash module 200; orpredominantly from the ambient light 160. For example, the placement ofthe ambient light 160 and flash module 200 relative to the object 150and each other can cause the illumination of different portions of theobject 150 to cause a viewable color shift.

The present disclosure provides an image sensor 210 that is adapted todetect a color spectrum of ambient light 160. As described above theimage sensor 210 can receive reflected light off of the object orobjects within the view of image sensor 210. The data detected by imagesensor 210 can include ambient light characteristics such as ambientlight color spectrum data. In at least one implementation, the imagesensor 210 can also measure luminous intensity. The data received at theimage sensor 210 is processed by the processor module 338. The processormodule 338 can be the main processor module or the processor module 338can be a specialized processor module. Additionally, the image sensordata can be pre-processed or processed in advance of the processormodule 338.

As illustrated, the processor module 338 is coupled to the white lightsource 202, red light source 204, image sensor 210 and a camera module220. The processor module 338 can be adapted to receive color spectrumdata from the image sensor 210. The processor module 338 can alsodetermine an intensity of red light that substantially matches a colorspectrum of the ambient light 160 when combined with a white light. Inat least one implementation, the processor module 338 can also determinean intensity of red light and white light that in combinationsubstantially matches the color spectrum of ambient light 160. Theprocessor module 338 transmits red light flash control data to the redlight source 204 to control the emission of the intensity of the redlight. The red light flash control data is based on the determinedintensity of red light. Additionally, the processor module transmitswhite light flash control data to the white light source 202 to controlthe emission of the intensity of the white light. The white light flashcontrol data can be based on the determined intensity of red light. Inat least one implementation, the control data for both the red lightsource 204 and white light source 202 can be determined based upon acalculated intensity for both the red light and white light combinationto substantially match the color spectrum of the ambient light 160.

As illustrated the flash module 200 includes the white light source 202and red light source 204. As indicated above, the white light source 202and red light source 204 are provided as examples and other lightsources can be used. Once the control data for the respective lightsource is received, the flash module 200 or the light source itself cancontrol the emission of light therefrom. For example, the white lightsource 202 emits white light and the red light source 204 emits redlight.

In at least one implementation, the processor module 338 can transmitfilter control data based upon the detected color spectrum of theambient light 160 to the camera module 220 to adjust filter settings onthe camera module 220. The adjustment of filter settings on the cameramodule 220 allows for the camera module 220 to correct the image coloras received so as to approximate the color to a more standard color,wherein the standard color takes into consideration a light of a knownspectrum. When the filter settings of the camera module 220 are adjustedaccording to this disclosure the image captured by the camera module 220appears more realistic to the observer. Additionally, the processormodule 338 can be adapted to transmit filter control data based upon thedetected color spectrum of ambient light and the determined intensity ofred light to the camera module 220 to adjust the filter settings on thecamera module 220. Filter settings as used herein refer to the filteringof different portions of the spectrum of light. For example, one filtersetting can be a blue filter setting, wherein the amount of blue lightis reduced or eliminated as compared to the actual light received.Additionally, the filter settings can adjust several different colorsrelative to each other.

The camera module 220 of the mobile device 100 can be adapted to recorda still image during the emission of the white light and red light. Inother implementations, the camera module 220 can be adapted to recordvideo images during the emission of the white light and red light. Somemobile devices 100 can be equipped with camera modules 220 that arecapable of capturing both video and images during the emission of whitelight and red light.

As illustrated in FIG. 5, a menu of camera settings 502 can be providedto an operator of the mobile device 100. The menu of camera settings 502provides for adjustment of the image processing based upon preselectedoptions. As illustrated, there is an indoor light source option 504,incandescent light source option 505, a fluorescent light source option505, a back light option 506, an outdoor light option 510 and an outdoorbacklight option 511.

In another implementation, the menu of camera settings 502 can alsoinclude options for the operator to manually select the characteristicsof the ambient light. In yet another implementation, the ambient lightconditions can be selected from a plurality of known ambient lightconditions.

The backside of the mobile device 100 is illustrated in FIG. 6. Asillustrated the flash module 200 is located above the camera module 220.A mirrored surface 530 is provided therebelow. In other implementations,the configuration of the flash module 200, camera module 220, andmirrored surface 530 can be located in different positions relative toone another as well as different positions on the backside of thedevice. In at least one implementation, the flash module 200, cameralmodule 220 and/or minor 530 can be located on the front side of themobile device.

The present disclosure includes a method for capturing an image on amobile device 100 having a flash module 200. The flash module 200 can beconfigured as described above. For example, the flash module 200 caninclude a white light source 202 and a red light source 204. The method400 as illustrated in FIG. 4 includes detecting a color spectrum ofambient light (block 410). The detection of ambient light can be fromimage data sensed by an image sensor. In other implementations, theambient light can be sensed from a camera module. The method alsoincludes determining an intensity of red light such that when combinedwith an associated intensity of white light results in a color spectrumof the combination of the red light and white light that substantiallymatches the color spectrum of the ambient light (block 420). The methodincludes emitting white light of the known intensity from the whitelight source of the flash and emitting red light with the determinedintensity of red light source of the flash (block 430). Additionally,the method includes recording an image from a camera module during theemission of the white light and red light (block 440).

In other implementations, the method can include additional oralternative steps. For example, the method can be adapted to determinean intensity of white light in addition to the determined intensity ofthe red light, wherein the determined intensity of the white light andthe determined intensity of the red light form light with approximatelythe same color spectrum of the ambient light. The method can be furtheradapted to emit white light from the white light source based upon thedetermined intensity of the white light. In at least one implementation,the method can adjust filter settings on the camera module in responseto the detected color spectrum of the ambient light. The filter settingscan also be adjusted in response to the detected color spectrum of theambient light and the determined intensity of the red light.Additionally, the method can include adjusting a light setting andadjusting the determined intensity of the red light based upon thereceived light setting. For example, the light settings can be an indoorlight setting, an outdoor light setting, an incandescent light setting,a fluorescent light setting or a backlighting setting. The method canfurther include recording a still image during the emission of the whitelight and red light. Furthermore, the method can include recording videoimages during the emission of the white light and red light.

Exemplary implementations have been described hereinabove regarding amobile device 100 having flash module 200 configured to be adapted basedupon the ambient light. Various modifications to and departures from thedisclosed implementations will occur to those having skill in the art.The subject matter that is intended to be within the spirit of thisdisclosure is set forth in the following claims.

What is claimed is:
 1. An electronic device comprising: an illuminationmodule including a first light source configured to emit a first lightof a first intensity and a second light source configured to emit asecond light of a second intensity; a camera module configured tocapture image data and detect a color spectrum of at least one type ofambient light; and a processing module coupled to the first lightsource, the second light source and the camera module, the processingmodule adapted to: receive image data from the camera module; determinean intensity of a first light matching the color spectrum of the ambientlight when combined with a second light; determine an intensity of thefirst light when combined with the intensity of the second light,wherein a resulting color spectrum of the combination of the first lightand second light intensities substantially matches the color spectrum ofthe ambient light; adjust the intensity of the first light based on thedetermined intensity of the first light; and adjust the intensity of thesecond light based on the determined intensity of first light.
 2. Theelectronic device as recited in claim 1, wherein the ambient light isincandescent light.
 3. The electronic device as recited in claim 1,wherein ambient light is fluorescent.
 4. The electronic device asrecited in clam 1, wherein the ambient light is one of a light emittingdiode light, a sodium-vapor light and a mercury vapor light.
 5. Theelectronic device as recited in clam 1, wherein the first light sourceis a light emitting diode.
 6. The electronic device of claim 1, whereinthe processing module is further adapted to determine an intensity of asecond light in addition to the determined intensity of the first light,wherein the determined intensity of the second light and the determinedintensity of the first light form light with approximately the samecolor spectrum of the ambient light.
 7. The electronic device of claim6, wherein the processing module is adapted to transmit control data tothe second light source to control emission of the second light from thesecond light source based upon the determined intensity of the secondlight.
 8. The electronic device as recited in claim 1, wherein theprocessing module is adapted to transmit filter control data based uponthe detected color spectrum of the ambient light to the camera module toadjust filter settings on the camera module.
 9. The electronic device asrecited in claim 1, wherein the processing module is adapted to transmitfilter control data based upon the detected color spectrum of theambient light and the determined intensity of the first light to thecamera module to adjust filter settings on the camera module.
 10. Theelectronic device as recited in claim 1, wherein the processing moduleis adapted to receive a light setting indication and adjust thedetermined intensity of the first light further based upon the receivedlight setting indication.
 11. The electronic device as recited in claim10, wherein the light setting indication is one of an indoor lightsetting, an outdoor light setting, an incandescent light setting, afluorescent light setting, or a backlighting setting.
 12. The electronicdevice as recited in claim 1, wherein the camera module is furtherconfigured to capture image data concurrent with the emission of thesecond and first light.
 13. A method for capturing an image on anelectronic device having an illumination module including a first lightsource and a second light source, the method comprising: detecting acolor spectrum of ambient light from image data sensed by an imagesensor; determining an intensity of first light when combined with anassociated intensity of a second light, wherein a resulting colorspectrum of the combination of the first light and second lightintensities substantially matches the color spectrum of the ambientlight; emitting a first light with the determined intensity from thefirst light source; emitting a second light of the known intensity fromthe second light source; recording an image from a camera moduleconcurrent with the emission of the second and first light.
 14. Themethod of claim 13, further comprising determining an intensity of asecond light in addition to the determined intensity of the first light,wherein the determined intensity of the second light and the determinedintensity of the first light form light with approximately the samecolor spectrum of the ambient light.
 15. The method of claim 14, furthercomprising emitting the second light from the second light source basedupon the determined intensity of the second light.
 16. The method ofclaim 13, further comprising adjusting filter settings on the cameramodule in response to the detected color spectrum of the ambient light.17. The method of claim 13, further comprising adjusting filter settingsof the camera module in response to the detected color spectrum of theambient light and the determined intensity of the first light.
 18. Themethod of claim 13, further comprising receiving a light settingindication and adjusting the determined intensity of the first lightfurther based upon the received light setting indication.
 19. The methodof claim 13, further comprising recording a still image during theemission of the second and first light.
 20. The method of claim 13,further comprising recording video images during the emission of thesecond and first light.